﻿




using System.Collections.Generic;

namespace Hotpot.Infrastructure
{
    public class ExtendedPropertyComparer : IEqualityComparer<ExtendedProperty>
    {
        #region IEqualityComparer<ExtendedProperty> Members

        public bool Equals(ExtendedProperty x, ExtendedProperty y)
        {
            return string.Compare(x.Name, y.Name, true) == 0;
        }

        public int GetHashCode(ExtendedProperty obj)
        {
            return obj.GetHashCode();
        }

        #endregion
    }
}
